.readContainer {
  width: 100%;
  position: relative;
  background: #F8F9F9;
  font-size: 13px;

  // 头部导航
  .header {
    width: 100%;
    min-width: 1200px;
    height: 50px;
    background-color: white;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;

    .headerInner {
      padding: 0 20px 0 20px;
      display: flex;

      // 左边的logo
      .leftLogo {
        position: relative;
        width: 117px;
        height: 40px;
        margin-top: 10px;
        font-weight: bold;
        background: url(../images/logo.jpg) right top/117px auto no-repeat;

        &::after {
          content: '优质类型小说平台';
          position: absolute;
          width: 145px;
          right: -5px;
          bottom: 3px;
          display: block;
          letter-spacing: 6px;
          font-size: 12px;
          color: #333;
          transform: scale(0.8);
          transform-origin: top right;
        }
      }

      // 左边的导航：分类、搜索
      .leftNav {
        margin-left: 36px;
        height: 40px;
        display: flex;
        flex-wrap: nowrap;

        &:hover {
          cursor: pointer;
        }

        .nav {
          width: 60px;
          height: 50px;
          line-height: 50px;
          display: flex;

          &:nth-of-type(1) {
            margin-right: 20px;
          }

          .iconfont {
            font-size: 26px;
          }

          span {
            height: 50px;
            line-height: 50px;
            margin-left: 3px;
          }
        }
      }

      // 中间的导航
      .centerNav {
        display: flex;
        width: 267px;
        margin: 0 auto;
        justify-content: space-between;

        &:hover {
          cursor: pointer;
        }

        .nav {
          height: 50px;
          line-height: 50px;
          position: relative;

          &:hover {
            &::after {
              content: "";
              width: 23px;
              height: 1px;
              background-color: #333;
              position: absolute;
              top: 46px;
              left: 2px;
              z-index: 2;
            }

          }
        }
      }

      .rightNav {
        display: flex;
        width: 215px;
        justify-content: space-between;

        &:hover {
          cursor: pointer;
        }

        .nav {
          height: 50px;
          line-height: 50px;

          &.text {
            color: #66c5ad;
            font-size: 12px;
          }

          &.personal {
            width: 30px;
            height: 30px;
            margin-top: 10px;
            border-radius: 30px;

            img {
              display: block;
              width: 30px;
              height: 30px;
              border-radius: 30px;
            }
          }

          .iconfont {
            font-size: 22px;
          }
        }
      }

    }

    // 下拉列表展示
    .optionList {
      width: 100%;
      height: 380px;
      background-color: white;
      display: none;
      transition: height 1s;
      position: absolute;

      .list {
        width: 1200px;
        margin: 0 auto;

        .works {
          height: 70px;
          width: 1200px;
          margin-bottom: 30px;
          display: flex;
          flex-direction: column;
          justify-content: space-between;

          i {
            font-size: 18px;
            font-weight: bold;
          }

          ul {
            display: flex;
            margin-left: 10px;

            li {
              font-size: 13px;
              width: 80px;
              height: 30px;
              line-height: 30px;
              text-align: center;
              background: #fff;
              margin-right: 10px;
              border-radius: 3px;
              box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, 0.1);

              &:hover {
                cursor: pointer;
                background: #389EAC;
                color: white;
              }
            }
          }
        }

        .books {
          height: 220px;
          width: 1200px;

          // background-color: steelblue;
          i {
            font-size: 18px;
            font-weight: bold;
          }

          .list {
            width: 1200px;
            // background-color: palegoldenrod;
            margin-top: 20px;
            display: flex;
            justify-content: space-around;

            .listDiv {
              width: 550px;
              height: 180px;
              background-color: white;

              .listUl {
                .listLi {
                  display: block;
                  height: 25px;
                  font-size: 13px;
                  margin-bottom: 5px;

                  ul {
                    display: flex;

                    li {
                      margin-right: 15px;
                      position: relative;

                      &:hover {
                        cursor: pointer;
                      }

                      &:first-child {
                        margin-right: 20px;
                        font-weight: bold;
                      }

                      &:first-child::after {
                        content: '>';
                        font-weight: bold;
                        position: absolute;
                        top: 0px;
                        right: -13px;

                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }

    // 搜索框
    .search{
      width: 100%;
      height: 100px;
      background-color: white;
      display: none;
      transition: height 1s;
      position: absolute;
    }

  }

  // 轮播图区域
  .bannerContainer {
    width: 100%;
    margin-top: 50px;
    height: 283px;
    box-sizing: border-box;

    // 轮播图
    .banner {
      width: 100%;

      ul {
        li {
          img {
            display: block;
            width: 100%;
            height: 238px;
          }
        }
      }
    }

    // 广告
    .advertisement {
      width: 100%;
      height: 45px;
      background-color: #ebf0f2;

      ul {
        width: 1200px;
        margin: 0 auto;
        height: 45px;
        line-height: 45px;
        display: flex;
        justify-content: space-around;

        li {
          display: flex;
          transform: scale(0.9);
          transform-origin: top left;

          &:hover {
            cursor: pointer;
          }

          div {
            width: 17px;
            height: 17px;
            margin-top: 17px;
            margin-right: 2px;
            background-color: #f9c300;
            color: #fff;
            font-size: 8px;
            text-align: center;
            line-height: 17px;
            box-sizing: border-box;
            border-radius: 3px;
            transform: scale(0.8);
            transform-origin: top left;
          }

          span {
            margin-top: 1px;
          }
        }
      }
    }
  }

  // 版心
  .container {
    width: 1200px;
    margin: 0 auto;

    // 下拉框
    .select {
      height: 50px;
      background: lemonchiffon;
    }

    // 图书列表
    .readList {
      .readListUl {
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;

        &:after {
          content: '';
          width: 580px;
          height: 0px;
        }

        .readListLl {
          width: 580px;
          height: 190px;
          background: white;
          margin-bottom: 20px;
          display: flex;
          justify-content: space-evenly;
          align-items: center;

          img {
            width: 80px;
            height: 120px;
            border-radius: 3px;
          }

          .detail {
            width: 460px;
            height: 120px;
            background-color: white;
            display: flex;
            flex-direction: column;
            justify-content: space-around;

            .title {
              font-size: 16px;
              font-weight: bold;
            }

            .author {
              color: #797874;
            }

            p {
              font-size: 13px;
              display: -webkit-box;
              overflow: hidden;
              text-overflow: ellipsis;
              -webkit-box-orient: vertical;
              -webkit-line-clamp: 2;
            }

            ul {
              display: flex;

              li {
                margin: 0 10px;
                position: relative;
                color: #797874;

                // border-left: 1px solid rgba(0, 0, 0, 0.3);
                &:first-child {
                  margin-left: 0;
                }

                &:last-child {
                  margin-right: 0;

                  &::after {
                    content: "";
                    width: 0;
                    height: 0;
                  }
                }

                &::after {
                  content: "";
                  display: block;
                  position: absolute;
                  top: 3px;
                  right: -10px;
                  width: 1px;
                  height: 10px;
                  background: #dcdcdc;
                }

                &:hover {
                  cursor: pointer;
                }
              }
            }
          }
        }
      }
    }
  }

  // 底部
  .footer {
    height: 40px;
    width: 100%;
    // padding: 0 20px 0 20px;
    background-color: #292B2D;
    display: flex;
    justify-content: space-between;

    .leftFooter {
      width: 580px;
      height: 40px;
      margin-left: 20px;
      // background: paleturquoise;
      display: flex;
      flex-direction: column;

      &:hover {
        cursor: pointer;
      }

      span {
        height: 20px;
        line-height: 20px;
        font-size: 12px;
        color: #9E9EA2;
      }
    }

    .rightFooter {
      width: 440px;
      height: 40px;
      margin-right: 20px;
      display: flex;
      justify-content: space-between;

      ul {
        display: flex;

        li {
          font-size: 12px;
          height: 14px;
          line-height: 14px;
          margin-top: 13px;
          margin-right: 16px;
          color: #eee;
          position: relative;

          &:hover {
            color: #333;
            background-color: #eee;
            cursor: pointer;
          }

          &::after {
            content: '';
            position: absolute;
            top: 6px;
            right: -8px;
            width: 2px;
            height: 2px;
            border-radius: 50%;
            background: #eee;
          }

          &:last-child::after {
            content: '';
            width: 0;
            height: 0;
          }
        }
      }

      img {
        width: 100px;
        height: 20px;
        margin-top: 10px;

        &:hover {
          cursor: pointer;
        }
      }
    }
  }
}